<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>个人中心</title>
		<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
		<link rel="stylesheet" href="__TMPL__Public/css/common.css?k=<php>echo time();</php>" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc_moblie/newMobile/User/css/my.css?k=<php>echo time();</php>"/>
		<link rel="stylesheet" type="text/css" href="/themes/wnsc_moblie/newMobile/Index/css/bottom.css?k=<php>echo time();</php>"/>
		<script type="text/javascript" src="/themes/wnsc_moblie/newMobile/User/js/area/jquery.min.js?k=<php>echo time();</php>"></script>
		<script type="text/javascript" src="__TMPL__Public/js/common.js?k=<php>echo time();</php>"></script>
		
	</head>
	<body>
		<div class="top">
			<a href="{:U('user/info')}"><img src="/themes/wnsc_moblie/newMobile/User/img/set.png"/></a>
			<div class="head_box" onclick='location="{:U('user/info')}"'><img src="{$userinfo['user_pic']|default='/themes/wnsc/Home/User/images/default_user_pic.png'}"/></div> 
			<php>if($userinfo['username']){</php><p  onclick='location="{:U('user/info')}"'>{$userinfo['username']} </p><php>}else{</php><p onclick='location="{:U('user/login')}"' style="font-size: 18px;font-weight: normal;letter-spacing: 3px;">登录/注册</p> <php>}</php></p>
			<div class="money">
				<div onclick='location="{:U('user/withdrawal')}"'>账户余额：<span>￥{$userinfo['money']|default='0.00'}</span></div>
				<div onclick='location="{:U('user/daiyan')}"'>我的红包：<span>￥{:number_format($daiyan_price,2)}</span></div>
			</div>
		</div>
		
		<div class="mid">
			<span>全部订单</span>
			<a href="{:U('user/order')}"><div>查看全部订单</div></a>
			<div class="process">
				<div onclick='location="{:U('user/order',array('status'=>1))}"'><p>待付款</p><if condition="$wcount gt 0"><em class="bg-color">{$wcount}</em></if></div>
				<div onclick='location="{:U('user/order',array('status'=>2))}"'><p>待拼单</p><if condition="$dptcount gt 0"><em class="bg-color">{$dptcount}</em></if></div>
				<div onclick='location="{:U('user/order',array('status'=>3))}"'><p>待发货</p><if condition="$dfcount gt 0"><em class="bg-color">{$dfcount}</em></if></div>
				<div onclick='location="{:U('user/order',array('status'=>4))}"'><p>待收货</p><if condition="$dscount gt 0"><em class="bg-color">{$dscount}</em></if></div>
				<div onclick='location="{:U('user/order',array('status'=>5))}"'><p>待评价</p><if condition="$dpcount gt 0"><em class="bg-color">{$dpcount}</em></if></div>
				<!--<div onclick='location="{:U('user/back')}"'><p>待退货</p><if condition="$thcount gt 0"><em class="bg-color">{$thcount}</em></if></div>-->
			</div>
		</div> 
		
		<div class="b_down">
			<a href="{:U('user/collect_shop')}"><div><p>我的收藏</p></div></a>
			<a href="{:U('user/back')}"><div><p>退货/退款</p></div></a>
			<a href="{:U('user/address')}"><div><p>收货地址</p></div></a>
			<a href="{:U('user/bonus')}"><div><p>券包</p></div></a>
			<a href="{:U('user/help')}"><div><p>帮助中心</p></div></a>
			<a href="{:U('user/ali')}"><div><p>我的支付宝</p></div></a>
			<a href="{:U('user/withdrawal')}"><div><p>提现</p></div></a>
			<a href="{:U('user/daiyan')}"><div><p>我的代言</p></div></a>
			<a href="{:U('user/bduser')}"><div><p>关联账号</p></div></a>
			<a href="{:U('user/crowdfunding')}"><div><p>我的众筹</p></div></a>
		</div>

		<style>
			/*footer_nav1底部悬浮菜单css*/
			.v_nav { position: fixed; bottom: 0; width: 100%; height:45px; background-color:#fff;border-top: #dcdcdc 1px solid; z-index: 9999;padding:0px; margin:0px; padding-bottom:2px; padding-top:2px ;line-height: 25px;font-size: 20px;}
			.vf_nav{ width:100%;height:50px; margin:auto; padding:0px; margin:0px;}
			.vf_nav ul li{ width:20%; height:50px; float:left; text-align:center; margin:0px;}
			.vf_nav ul li a{ text-align:center; font-size:12px; color:#333; width:45px; display:block; height:50px; position: relative; margin:auto}
			.vf_nav ul li i{ display:block;  width:25px; height:25px; margin:auto; line-height: 25px;}

			.vf_1{ background-position:-2px -6px;}
			.vf_2{ background-position:-2px -47px; }
			.vf_3{ background-position:0 -81px;}
			.vf_4{ background-position:-1px -114px;}
			.vf_5{  background-position:-1px -147px;}

			.vf_nav ul li span{ display:block; width:100%; height:20px; line-height:20px;}
			.vf_nav ul li a:active{color: #ff7171;}
			.global-nav__nav-shop-cart-num{
				position: absolute;
				top: -6px;
				color: #fff;
				text-align: center;
				font-weight: normal;
				font-size: 12px;
				width: 25px;
				height: 25px;
				line-height: 25px;
				background: #ff2233;
				border-radius: 50%;
				-webkit-transform-origin-x: 0;
				-webkit-transform: scale(0.65);}

		</style>
		<mtc_include file="Public:footer" />
	</body>
</html>
